SetupDiOpenDevRegKey (setupapi)
Last changed: -58.1.249.101

.
Summary
The SetupDiOpenDevRegKey function opens a registry storage key for device-specific configuration information and returns a handle to the key.

C# Signature:

[DllImport("Setupapi", CharSet = CharSet.Auto, SetLastError = true)]
public static extern IntPtr SetupDiOpenDevRegKey(IntPtr hDeviceInfoSet, ref SP_DEVINFO_DATA deviceInfoData, int scope, int hwProfile, int parameterRegistryValueKind, int samDesired);

VB Signature:

Declare Function SetupDiOpenDevRegKey  Lib "setupapi.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
SetupDiOpenDevRegKey @msdn on MSDN